package com.rerun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.rerun.entity.JobFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * The interface Job feedback mapper.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/10 15:51
 */
public interface JobFeedbackMapper extends BaseMapper<JobFeedback>{

    /**
     * 查询投递状态历史表中没有的简历反馈.
     *
     * @return the list
     */
    List<JobFeedback> selectListNotInDetail();

    /**
     * Select by status list.
     *
     * @param pagination the pagination
     * @param status     the status    传值 0 查所有状态
     * @param memberId   the member id
     * @return the list
     */
    List<JobFeedback> selectByStatus(Pagination pagination, @Param("status") long status, @Param("memberId") String memberId);
}
